import instance from './http'
export const liebiao=(data)=>{
    return instance({
  method: 'post',
  url: 'https://api-hmugo-web.itheima.net/api/public/v1/goods/search',
  data: {
    ...data
  }
});
}

export const xiangqing=(goods_id)=>{
    return instance({
  method: 'GET',
  url: 'https://api-hmugo-web.itheima.net/api/public/v1/goods/detail',
  parmas: {
    goods_id
  }
});
}
